package top.honlnk.czuan.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.honlnk.czuan.mapper.get.GetTranslationMapper;
import top.honlnk.czuan.pojo.vo.GetTranslationVO;
import top.honlnk.czuan.service.GetService;

import java.util.List;

@Slf4j
@Service
public class GetServiceImpl implements GetService {

    @Autowired
    private GetTranslationMapper getTranslationMapper;

    @Override
    public List<GetTranslationVO> getTranslationInfo(String text) {
        return getTranslationMapper.getTranslationInfo(text);
    }
}
